﻿using System;
using System.Runtime.InteropServices;
using System.Security;

namespace ProjectAutumn.WindowSystem.FormsWindow
{
    static class NativeMethods
    {
        [SuppressUnmanagedCodeSecurity]
        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
        [return: MarshalAs(UnmanagedType.Bool)]
        public static extern bool PeekMessage(out NativeMessage message, IntPtr hwnd, uint messageFilterMin, uint messageFilterMax, uint flags);
    }
}